package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class monitorBlockHandler {
    public static String helloBlockHandler(BlockException e) {
        System.out.println(e.toString());
        return "系统繁忙，请稍后再试";
    }
}
